package day01;

/**
 * @author Jetwang
 * @version 1.0
 * @since 2023/2/27 20:45
 */
public class DoublyLinkedListSentinelTest {
    public static void main(String[] args) {
        DoublyLinkedListSentinel list = new DoublyLinkedListSentinel();

        list.addFirst(1);
        list.addFirst(2);
        list.addLast(3);
        list.addLast(4);

        for (Integer ele : list) {
            System.out.println(ele);
        }
    }
}
